package com.hmall.api.clients;

import com.hmall.api.dto.ItemDTO;
import com.hmall.api.dto.OrderDetailDTO;
import org.springframework.web.bind.annotation.*;

import java.util.Collection;
import java.util.List;
import java.util.Set;

@org.springframework.cloud.openfeign.FeignClient("cart-service")
public interface CartFeignClient {

    @DeleteMapping("/carts")
    public void removeByItemIds(@RequestParam("ids") Set<Long> ids);
}
